﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HongStone.Domain.SystemSetupModel.InstitutionSettingModel
{
    /// <summary>
    /// 部门
    /// </summary>
    [Table("Department")]
    public class Department
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        [Key]
        public int DeptId { get; set; }
        /// <summary>
        /// 部门_部门ID
        /// </summary>
        public int Dep_DeptId { get; set; }
        /// <summary>
        /// 部门编号
        /// </summary>
        public string DeptNumber { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }
        /// <summary>
        /// 上级部门
        /// </summary>
        public string  SuperiorDepartment  { get; set; }
        /// <summary>
        /// 部门列表
        /// </summary>
        public int DeptIndex { get; set; }
        /// <summary>
        /// 部门描述
        /// </summary>
        public string DeptDesc { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Order { get; set; }
        /// <summary>
        /// 员工主键
        /// </summary>
        public int StaffId { get; set; }
        /// <summary>
        /// 部门类型
        /// </summary>
        public string LeiXing { get; set; }
       
        /// <summary>
        /// 连接字典表外键
        /// </summary>
        public int DicTableId { get; set; }
    }
}
